package com.mengxinya.ys.social.wechatplatform;

import com.mengxinya.ys.social.wechatplatform.impl.WechatMpTextReplyMessage;

/**
 * 微信公众号的回复消息
 */
public interface WechatMpReplyMessage {
    static WechatMpReplyMessage TEXT(String content) {
        return new WechatMpTextReplyMessage() {
            @Override
            public String getContent() {
                return content;
            }

            @Override
            public WechatMpReplyMessageType messageType() {
                return WechatMpReplyMessageType.TEXT;
            }
        };
    }

    WechatMpReplyMessageType messageType();
}
